package com.dsl.tms.enums;


public enum AdminLoginResult {

    SUCCESS(1,"成功！"),
    MISS_USER_OR_PASSWORD(2,"用户名或密码错误"),
    NO_POWER(3,"无权限"),
    PROGRAM_ERR(4,"程序错误"),
    NERVER_LOGIN(5,"未登录或登录过期");



    private Integer code;

    private String description;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    private AdminLoginResult(Integer code, String description){
        this.code = code;
        this.description = description;
    }

}
